# name : Kruskal Wallis test for 2+ arm ordinal data (anova, MW)
# key : ordinal.2arm.kruskal.wallis
# key : ordinal_2arm_kruskal_wallis
# contributor: Shuguang Sun
# --
ods output kruskalwallistest=_kw (where=(name1 eq "P_KW") drop = label1 cvalue1 variable)
    anova=_anova (where = (source eq "Among") drop = df ss ms fvalue variable);
proc npar1way data=${1:dtin} anova WilcoxonTest;
  class ${2:group};
  var ${3:var};
run;